<script src="<{$config.weburl}>/script/prototype.js" type="text/javascript"></script>
<!--<div class="guanggao1">
    <script src='<{$config.weburl}>/api/ad.php?id=71&catid=<{$smarty.get.id}>&sname=<{$sname}>'></script>
</div>-->
<div class="line2"></div>
<div id="allNews">
    <div id="new-content1-left2">

    </div>
    <div id="new-content1-Middle1"></div>
    <div id="new-content1-right">
	     <div id="new-content1-right-top">
			   <span class="zhaochanpin">供求新闻</span>
			   <span class="chanpingfuhao">>></span>
			   <span class="chanpingengduo">更多</span>
		 </div>
	</div>
    <div class="newguanggaowei"><script src='<{$config.weburl}>/api/ad.php?id=73&catid=<{$smarty.get.id}>&sname=<{$sname}>'></script></div>   
</div><script>
function do_select()
{
	 var box_l = document.getElementsByName("inquery").length;
	 for(var j = 0 ; j < box_l ; j++)
	 {
		if(document.getElementsByName("inquery")[j].checked==true)
		  document.getElementsByName("inquery")[j].checked = false;
		else
		  document.getElementsByName("inquery")[j].checked = true;
	 }
}
function get_inquery()
{	
	var pid='';
	var boxes = document.getElementsByName("inquery");   
	for (var i = 0; i < boxes.length; i++)  
	{  
		if(boxes[i].checked)  
		{  
			pid+=boxes[i].value+',';  
		} 
	}
	window.location='<{$config.weburl}>/inquire.php?contype=2&offerid='+pid;
}
</script>